package com.example.ordersystem.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * 配送员
 */
@Data
@ToString
@TableName("courier")
public class Courier implements Serializable {

    private static final long serialVersionUID = 5L;

    private int id;

    private String mailbox;

    private String name;

    private String pwd;

    private String age;

    private String sex;

    private String intro;

    private String avatar;

    private String tel;

    public Courier(int id, String mailbox, String name, String pwd, String age, String sex, String intro, String avatar, String tel) {
        this.id = id;
        this.mailbox = mailbox;
        this.name = name;
        this.pwd = pwd;
        this.age = age;
        this.sex = sex;
        this.intro = intro;
        this.avatar = avatar;
        this.tel = tel;
    }

    public Courier() {

    }
}
